<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .img{
            margin: 200px auto;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            transition: all 2s;
            background-image: url(../image/头像.jpg);
            background-size: 100%;
        }
        .img:hover{
            transform: scale(2) rotate(360deg);
            background-image: url(../image/iwEcAqNqcGcDAQTRAlgF0QKdBrCH86wKz3ZrigaMwKbUGqUAB9IDRvFQCAAJomltCgAL0gACwPM.jpg_720x720q90.jpg);          
            z-index: 2;
        }
    </style>
</head>
<body>
    <div class="img"></div>
</body>
</html>